package fr.inria.phoenix.scenario.bwsnfirefighting.framework.distributed.smokedetection;

import java.util.HashMap;

import fr.inria.diagen.core.ServiceConfiguration;
import fr.inria.diagen.core.exception.DiaGenException;
import fr.inria.diagen.core.exception.InvocationException;
import fr.inria.diagen.core.network.RemoteServiceInfo;
import fr.inria.diagen.core.service.local.Service;

import java.lang.Boolean;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.DeviceStatus;
import java.lang.Integer;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.Location;


import fr.inria.diagen.core.service.filter.attribute.EqualsAttributeFilter;
import fr.inria.diagen.core.service.filter.attribute.AttributeFilter;

public class EnvironmentSensorDeviceServiceFilter extends fr.inria.phoenix.scenario.bwsnfirefighting.framework.common.filter.EnvironmentSensorDeviceServiceFilter {
  private static final long serialVersionUID = 0;
  
    public EnvironmentSensorDeviceServiceFilter() {
      super("EnvironmentSensorDevice");
    }
  
    public EnvironmentSensorDeviceServiceFilter location(AttributeFilter<fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.Location> filter) {
        getAttributes().put("location", filter);
        return this;
    }
    
    public EnvironmentSensorDeviceServiceFilter location(fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.Location value) {
        return location(new EqualsAttributeFilter<fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.Location>(value));
    }
    public EnvironmentSensorDeviceServiceFilter dangerousmaterial(AttributeFilter<java.lang.Boolean> filter) {
        getAttributes().put("dangerousmaterial", filter);
        return this;
    }
    
    public EnvironmentSensorDeviceServiceFilter dangerousmaterial(java.lang.Boolean value) {
        return dangerousmaterial(new EqualsAttributeFilter<java.lang.Boolean>(value));
    }
    public EnvironmentSensorDeviceServiceFilter id(AttributeFilter<java.lang.Integer> filter) {
        getAttributes().put("id", filter);
        return this;
    }
    
    public EnvironmentSensorDeviceServiceFilter id(java.lang.Integer value) {
        return id(new EqualsAttributeFilter<java.lang.Integer>(value));
    }

}